package com.iss.controller;

import com.iss.model.Room;
import com.iss.service.RoomService;

import java.sql.SQLException;
import java.util.List;

public class RoomController {
    private RoomService service = new RoomService();
    public List<Room> getList()  {
        return service.getList();
    }

    public Boolean add(Room room){
       return service.add(room);
    }
}
